﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="UserAccounts.aspx.cs" Inherits="Otgruzka.Admin.UserAccounts" %>
<%@ Register Src="~/Controls/UserAccount/CostsCenter.ascx" TagPrefix="uc" TagName="CostsCenter" %>
<%@ Register Src="~/Controls/UserAccount/DepartmentEdit.ascx" TagPrefix="uc" TagName="DepartmentEdit" %>
<%@ Register Src="~/Controls/UserAccount/JuridicalPersonEdit.ascx" TagPrefix="uc" TagName="JuridicalPersonEdit" %>
<%@ Register Src="~/Controls/UserAccount/RoleControl.ascx" TagPrefix="uc" TagName="RoleControl" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <script type="text/javascript">
        $(function () {
            $("#tabs").tabs();
            $("#tabs-1").append($("#CostsCentersDiv"));
            $("#tabs-2").append($("#JuridicalPersonsDiv"));
            $("#tabs-3").append($("#DepartmentsDiv"));
            $("#tabs-4").append($("#RolesDiv"));
        });
    </script>

    <div id="tabs">
        <ul>
            <li><a href="#tabs-1">Справочник Центров затрат</a></li>
            <li><a href="#tabs-2">Справочник Юр.лиц</a></li>
            <li><a href="#tabs-3">Справочник Отделов</a></li>
            <li><a href="#tabs-4">Справочник ролей</a></li>
        </ul>
        <div id="tabs-1">
            <div id="CostsCentersDiv"><uc:CostsCenter ID="CostsCenterControl" runat="server" /></div>
        </div>
        <div id="tabs-2">
            <div id="JuridicalPersonsDiv"><uc:JuridicalPersonEdit ID="JuridicalPersonEditControl" runat="server" /></div>
        </div>
        <div id="tabs-3">
            <div id="DepartmentsDiv"><uc:DepartmentEdit ID="DepartmentEditControl" runat="server" /></div>
        </div>
        <div id="tabs-4">
            <div id="RolesDiv"><uc:RoleControl ID="RoleControl" runat="server" /></div>
        </div>
    </div>

</asp:Content>
